HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/managed_kafka/clusters/list.yaml
release_tracks: [GA, ALPHA, BETA]

help_text:
  brief: |
    List all Managed Service for Apache Kafka clusters in a given location.
  description: |
    List all Apache Kafka for BigQuery clusters in a given location.
    To specify the maximum number of clusters to list, use the --limit flag.

  examples: |
    To list all clusters in a given location, such as us-central1, run the following:

      $ {command} --location=us-central1

request:
  collection: managedkafka.projects.locations.clusters

arguments:
  resource:
    help_text: |
      Identifies the region which contains all the clusters to be listed.
    spec: !REF googlecloudsdk.command_lib.managed_kafka.resources:location

response:
  modify_response_hooks:
  - googlecloudsdk.command_lib.managed_kafka.util:ListWithBootstrapAddr

output:
  format: |
    table[box](
      name.segment(5):label=NAME,
      bootstrapAddress:label=BOOTSTRAP,
      capacityConfig.vcpuCount:label=VCPU,
      capacityConfig.memoryBytes:label=MEMORY_BYTES,
      state:label=STATE,
      gcpConfig.accessConfig.networkConfigs.subnet.list(separator="
    "):label=NETWORK
    )